'use strict';
/**
 * @Controller home
 */
const Controller = require('egg').Controller;
class HomeController extends Controller {
  /**
   * @summary 测试接口是否正常
   * @description 测试接口是否正常
   * @router GET /
   * @request query integer Id ID
   * @response 200 JsonResult 操作结果
   */
  async index() {
    const { ctx } = this;
    ctx.body = 'ppyy日记， 后端ok';
  }
}

module.exports = HomeController;
